hvm save: Introduce hvm_load_entry_zeroextend().
authorKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 10:21:05 +0000 (10:21 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 10:21:05 +0000 (10:21 +0000)
commite03284b00e3690bc96e0092dfc248bb6e5290ee4
tree10bf3dbffd9d507015ca0a0b7ccce3762650de30
parent16f40060bcea71509daef897ecb80e91cfbaef99
hvm save: Introduce hvm_load_entry_zeroextend().

In certain cases this will allow us to load old HVM save images where
an HVM saved chunk has subsequently been extended with new
fields. Rather than fail to load the chunk, we can pad the extended
structure with zeroes, if the caller knows how to handle that.

Signed-off-by: Keir Fraser <keir@xen.org>
Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/hvm/hpet.c
xen/common/hvm/save.c
xen/include/xen/hvm/save.h